package com.ruoyi.expert.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 职称表 cs_job
 *
 * @author wyp
 */
public class Job {
    /** 职称ID */
    private Integer mid;
    /** 专家ID */
    private Integer jid;
    /** 证书名称 */
    private String m_name;
    /** 证书编号 */
    private String m_code;
    /** 职称 */
    private String m_job;
    /** 颁发机构 */
    private String m_institution;
    @DateTimeFormat(pattern ="yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    /** 获得时间 */
    private Date m_get_date;

    public Job(Integer mid, Integer jid, String m_name, String m_code, String m_job, String m_institution, Date m_get_date) {
        this.mid = mid;
        this.jid = jid;
        this.m_name = m_name;
        this.m_code = m_code;
        this.m_job = m_job;
        this.m_institution = m_institution;
        this.m_get_date = m_get_date;
    }
    public Job(){

    }

    public Integer getMid() {
        return mid;
    }

    public void setMid(Integer mid) {
        this.mid = mid;
    }

    public Integer getJid() {
        return jid;
    }

    public void setJid(Integer jid) {
        this.jid = jid;
    }

    public String getM_name() {
        return m_name;
    }

    public void setM_name(String m_name) {
        this.m_name = m_name;
    }

    public String getM_code() {
        return m_code;
    }

    public void setM_code(String m_code) {
        this.m_code = m_code;
    }

    public String getM_job() {
        return m_job;
    }

    public void setM_job(String m_job) {
        this.m_job = m_job;
    }

    public String getM_institution() {
        return m_institution;
    }

    public void setM_institution(String m_institution) {
        this.m_institution = m_institution;
    }

    public Date getM_get_date() {
        return m_get_date;
    }

    public void setM_get_date(Date m_get_date) {
        this.m_get_date = m_get_date;
    }

    @Override
    public String toString() {
        return "Job{" +
                "mid=" + mid +
                ", jid=" + jid +
                ", m_name='" + m_name + '\'' +
                ", m_code='" + m_code + '\'' +
                ", m_job='" + m_job + '\'' +
                ", m_institution='" + m_institution + '\'' +
                ", m_get_date=" + m_get_date +
                '}';
    }
}
